package io.hxci.modules.stu.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "eval_apply")
public class EvalApply {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 学生id
     */
    @TableField(value = "sid")
    private Long sid;

    /**
     * 教师id
     */
    @TableField(value = "tid")
    private Long tid;

    /**
     * 申请得分类型
     */
    @TableField(value = "btype")
    private Long btype;

    /**
     * 佐证材料
     */
    @TableField(value = "img")
    private String img;

    /**
     * 申请时间
     */
    @TableField(value = "time")
    private String time;

    /**
     * 审批时间
     */
    @TableField(value = "sptime")
    private Date sptime;

    /**
     * 批语
     */
    @TableField(value = "beizhu")
    private String beizhu;

    /**
     * 状态
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 标识，标识同一项申请审批
     */
    @TableField(value = "sign")
    private String sign;


    @TableField(exist = false)
    private String gname;

    @TableField(exist = false)
    private String tname;

    @TableField(exist = false)
    private Long atype;

    @TableField(exist = false)
    private String sname;

    @TableField(exist = false)
    private String name;

    @TableField(exist = false)
    private String bname;

    @TableField(exist = false)
    private Double score;
    @TableField(exist = false)
    private String atypeName;
    @TableField(exist = false)
    private String btypeName;
}